package chapter02;

import java.util.Scanner;

/**
 * Created by a on 2017/6/8.
 */
public class Test024 {
    public static void main(String[] args) {
        while (true) {
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入一个整数:");
            long number = scanner.nextLong();
            String check = (number % 2 == 0) ? "偶数" : "奇数";
            System.out.println(check);
        }
    }
}
